package service

import (
	"gitee.com/wu-jin-feng/fgin"
)

type Service struct {
	F       *fgin.Fgin
	Greeter *GreeterService
}

func NewService() *Service {
	f := &fgin.Fgin{}
	greeter := &GreeterService{F: f}
	return &Service{
		F:       f,
		Greeter: greeter,
	}
}
